package com.gangan.model;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2019-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tl_doctor_rest")
public class DoctorRest implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    private Integer id;

    /**
     * 医生自增主键
     */
    private Integer doctorId;

    /**
     * 休假开始时间
     */
    private LocalDateTime restStartTime;

    /**
     * 休假结束时间
     */
    private LocalDateTime restEndTime;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 休假状态 ,0-未确认,1-通过申请
     */
    private Integer status;

    /**
     * 审核人名称
     */
    private String audit;


    @TableLogic
    @ApiModelProperty(value="逻辑删除识别",example="false")
    private boolean delFlag;
}
